package com.czh.subject.domain.convert;

import com.czh.subject.domain.entity.SubjectOptionBO;
import com.czh.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author caozaihui
 * @version 1.0
 * @description:
 * @since 2024/7/31 下午 11:49
 */
@Mapper
public interface SubjectMultipleConverter {
    SubjectMultipleConverter INSTANCE = Mappers.getMapper(SubjectMultipleConverter.class);

    SubjectMultiple convert(SubjectOptionBO subjectOptionBO);

    List<SubjectOptionBO> convert(List<SubjectMultiple> subjectMultipleList);
}
